//
//  CTFrameParser.h
//  BookTest1
//
//  Created by IOS3 on 2018/10/31.
//  Copyright © 2018 IOS3. All rights reserved.
//
// 用于生成最后绘制界面的需要的额CTFrame实例
//

#import <Foundation/Foundation.h>
#import <CoreText/CoreText.h>
#import "CTFrameParserConfig.h"
#import "CoreTextData.h"


NS_ASSUME_NONNULL_BEGIN

@interface CTFrameParser : NSObject

+ (CoreTextData *)parserContent:(NSString *)content config:(CTFrameParserConfig *)config;

+ (CoreTextData *)parserAttrContent:(NSAttributedString *)content config:(CTFrameParserConfig *)config;

@end

NS_ASSUME_NONNULL_END
